home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hs25 / hsbase.lzh / HS.DOC < prev    next >
Encoding:
Text File  |  1989-05-13  |  27.3 KB  |  1,124 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.     
  9.  
  10.  
  11.                HyperShell Hypertext control system
  12.                    Version 2.5
  13.  
  14.                    Users Guide
  15.  
  16.              Copyright (c) 1988,1989 Text Technology
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.     Text Technology
  38.     66 Kennedy Avenue
  39.     Macclesfield
  40.     Cheshire
  41.     England
  42.     SK10 3DE
  43.  
  44.     
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                       - 1 -
  63.     
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.                     Chapter 1
  80.  
  81.                 Using HyperShell
  82.  
  83.  
  84.  
  85.  
  86.     1.1 Introduction
  87.  
  88.  
  89.     This  manual is a guide to the use of the HyperShell system  for
  90.     the end user.  An 'end user'  is someone who uses the HyperShell
  91.     program with  supplied    hyperfiles.  It describes the invocation
  92.     mechanism, and the  interaction  capabilities  provided  for the
  93.     user.    This  document    is also  an  essential    primer    for  the
  94.     HyperShell Author.
  95.  
  96.     The production of HyperShell files is described in the Authoring
  97.     Guide.
  98.  
  99.     The format of HyperShell  files  is  described    in  the  Authors
  100.     reference guide. 
  101.  
  102.     The  hypertext concept and the HyperShell product are  described
  103.     in the Shareware notice document. 
  104.  
  105.  
  106.  
  107.  
  108.     1.2 Invocation
  109.  
  110.  
  111.     To use certain features of HyperShell, it is  necessary  to have
  112.     the  COMSPEC  environment  variable  and  the  PATH  environment
  113.     variable set up correctly.   Refer  to your machine instructions
  114.     for details of how to check this.  The PATH environment variable
  115.     needs to include the disk and directory where the programs to be
  116.     run reside.  If  a  number  of    applications are to be run using
  117.     HyperShell  as    a  menu  system,  the  FILES  statement  in  the
  118.     CONFIG.SYS file may need extending to cover all files that could
  119.     be open at once. 
  120.  
  121.     To invoke HyperShell from the DOS command line, type
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.                       - 2 -
  129.     
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.     HyperShell        Using HyperShell         User Manual
  138.     
  139.  
  140.  
  141.          HS {options} hyperfile {frame}
  142.  
  143.     The  hyperfile    parameter is the name of the file to view  using
  144.     HyperShell. It can have an extension if needed    (the  default is
  145.     .HYP). If  your  hyperfiles are in a special directory elsewhere
  146.     on the same or another    disk,  you  should set up an environment
  147.     variable using    the  SET  command  (See  your DOS manual) of the
  148.     form:-
  149.  
  150.     SET HSPATH=C:\HYPER\
  151.  
  152.     The bracketed parameters are optional. 
  153.  
  154.     {options} are one or more of the following:-
  155.  
  156.  
  157.          -n   Create notepad file if it doesn't exist
  158.  
  159.          -s   Save screen for redisplay during session and on exit
  160.  
  161.          -m   Attempt to use mouse driver directly
  162.  
  163.          -f   Suppress the display of guide symbols on menus
  164.  
  165.          -b   Suppress the retention of backtrack information
  166.  
  167.          -a   Switch on autoreferencing
  168.  
  169.          -r   Display available memory on exit
  170.  
  171.          -x   Suppress filename suffix on frames in reference list
  172.  
  173.          -t   Trace labels in scripts
  174.  
  175.          -h   MDA/Hercules highlighting scheme
  176.  
  177.          -g      CGA/EGA highlighting scheme
  178.  
  179.          -z   Flash mouse cursor
  180.  
  181.          -l      Don't highlight references when using Type file option
  182.          -k      Don't highlight refs and strip 8th bit
  183.  
  184.          -d   Use BIOS for display (only if desperate)
  185.  
  186.     {frame} is the name of a  frame to display initially.  The first
  187.     frame in the hyperfile is otherwise displayed. 
  188.  
  189.     The -n option indicates that any  notepad  information should be
  190.     saved on exit to a file  called  NOTES.HSN. If this file already
  191.  
  192.  
  193.  
  194.                        1-3             Version 2.5
  195.     
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.     HyperShell        Using HyperShell         User Manual
  204.     
  205.  
  206.  
  207.     exists at startup, it is read into the    notepad store, and saved
  208.     on exit.  This facility permits the references in the notepad to
  209.     be retained between invocations. 
  210.  
  211.     The  -d option uses BIOS calls for screen  display,  and  should
  212.     only  be  used    on  those  machines  that  are not  sufficiently
  213.     compatible to work with  direct  screen  display.   Some trivial
  214.     display errors can occur when using -d.
  215.  
  216.     The -r and -t  options are for use by hyperfile authors, and are
  217.     not normally of use to the end user. 
  218.  
  219.     The  display  adapter  will  be  automatically    sensed    and   an
  220.     appropriate  highlighting  scheme adopted.  The  scheme  can  be
  221.     forced    to  the  colour  schemes using the -g option, or to  the
  222.     monochrome schemes using -h.
  223.  
  224.     The -z option, default for monochrome displays, can be used with
  225.     colour displays for flashing the mouse cursor to  make    it  more
  226.     visible (in emulation mode only). 
  227.  
  228.     The -l and  -k    options permit files listed using the 'T' action
  229.     (Type  file)  to  be  listed  verbatim    without  the  references
  230.     expanded.  The    -k  option  also  strips  the 8th bit for typing
  231.     WordStar(tm) format files. 
  232.  
  233.  
  234.  
  235.  
  236.     1.3 Interaction
  237.  
  238.  
  239.     Interaction with HyperShell is normally done using the mouse.  A
  240.     typical application of HyperShell would  only require occasional
  241.     use of the keyboard, but more  advanced  uses  may  well require
  242.     heavier  use of the keyboard.  Having said that, if you  haven't
  243.     got a mouse, you  need    to use the keyboard all the time.  There
  244.     is a  'mouse  emulator' provided, to allow you to use the cursor
  245.     keys  to  move    about,    and  also  a  number  of  standard,  and
  246.     application tailorable, key mappings are provided. 
  247.  
  248.  
  249.     1.3.1 The Mouse
  250.  
  251.     If you have a mouse, and wish to use the mouse    emulator, to get
  252.     the additional features, set it  up so that it drives the cursor
  253.     keys, and maps the left/right buttons to RETURN/ESCAPE.
  254.  
  255.     Specifying the -m option on the command line attempts to connect
  256.     directly to the mouse  driver.     If  use of this option does not
  257.  
  258.  
  259.  
  260.                        1-4             Version 2.5
  261.     
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.     HyperShell        Using HyperShell         User Manual
  270.     
  271.  
  272.  
  273.     lead to proper mouse interaction, it should not  be  used.   Any
  274.     Microsoft compatible mouse should be supported. 
  275.  
  276.  
  277.  
  278.  
  279.     Positioning
  280.  
  281.  
  282.     On startup, HyperShell positions  the  mouse  cursor  (A  square
  283.     block) in the centre of the screen.  Moving the mouse  will move
  284.     this block.  You would typically move the mouse to a highlighted
  285.     reference and select it. 
  286.  
  287.  
  288.  
  289.  
  290.     Buttons
  291.  
  292.  
  293.     The left mouse button, and the RETURN key, selects the reference
  294.     over  which  the  mouse  cursor  is positioned.  If  a    menu  is
  295.     presented  for    selection,  the  left  button is pressed over  a
  296.     choice to select it, or  pressed  outside the menu to cancel the
  297.     menu (but see below). 
  298.  
  299.     The right  mouse  button,  and the ESCAPE key, has two differing
  300.     actions depending upon when  it  is  pressed.    When  reading  a
  301.     normal    frame  display,  this button causes the main  HyperShell
  302.     control menu to appear.   When    it is pressed during the display
  303.     of a menu, a  popup  message,  a  note    or  a  paged display, it
  304.     cancels  that  item.   When  it  is pressed during one of  these
  305.     displays in the execution of a script, it also    cancels the rest
  306.     of the script. 
  307.  
  308.  
  309.     1.3.2 The Keyboard
  310.  
  311.     The keyboard is by no means a poor substitute for the mouse, and
  312.     provides as powerful a    control  as the mouse when used properly
  313.     (by  the  application as well as the user).  The mouse    emulator
  314.     allows the cursor keys to move the mouse cursor around, but this
  315.     is not as convenient as the mouse itself. 
  316.  
  317.     To  compensate    for  this,  shortcuts  are  provided for  cursor
  318.     positioning and selection. 
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.                        1-5             Version 2.5
  327.     
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.     HyperShell        Using HyperShell         User Manual
  336.     
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.     Standard keys
  344.  
  345.  
  346.     Certain keys are available whether the    mouse  is  available  or
  347.     not. 
  348.  
  349.     The  RETURN  key  is  used  for  selections,  as   well  as  for
  350.     terminating typed responses to prompts and input fields. 
  351.  
  352.     The ESCAPE key is used as a cancel key, and has the same  effect
  353.     as the right mouse button. 
  354.  
  355.     The Home,  PgUp and PgDn keys are used during paged displays, to
  356.     move  the  display  to    the  previous/next display (PgUp is  not
  357.     always available!).  The Home key and  PgDn  key  are  also used
  358.     when displaying a frame text which  is    longer than a screenful,
  359.     to move to the first screen and the next screen respectively. 
  360.  
  361.     The End key is used during a frame  display to recall the screen
  362.     saved on entry if the -s command line option was used.    This  is
  363.     useful    when  the hyperfile is being used for a help system, and
  364.     you want to recall what you wanted help about.    Pressing any key
  365.     returns you to the frame display. 
  366.  
  367.     The keypad INS and DEL keys are used  for  inserting  references
  368.     into and removing references from the 'notepad'. This is a  list
  369.     which is maintained  during your HyperShell session, and is used
  370.     to store references that you may not wish to follow immediately,
  371.     but nevertheless wish to  'note'.  The keys are used by pressing
  372.     them when  over  the required reference.  A message is displayed
  373.     to show you the results of the action.    Pressing the  keys  when
  374.     not over a reference,  when  displaying  a frame, will result in
  375.     the current frame having its reference added  to  the  notepad. 
  376.     The notepad information can be retained between sessions using a
  377.     notepad file.  This can  be  initially    created  by using the -n
  378.     option on the invocation command line. 
  379.  
  380.     The  '?' key is used to ask for help.  It will usually display a
  381.     menu of  topics  for  which  help is available.  When a topic is
  382.     selected, a note describing  the  topic  is displayed.    The help
  383.     key is available in frame displays  and  paged    displays.   If a
  384.     particular hyperfile does not support the help    key,  a  message
  385.     will be displayed to say that the help menu  is  not available. 
  386.     The F1 key may    in  some  hyperfiles be mapped to the help menu,
  387.     and in this case may offer more than simple notes from the  help
  388.     menu. 
  389.  
  390.  
  391.  
  392.                        1-6             Version 2.5
  393.     
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.     HyperShell        Using HyperShell         User Manual
  402.     
  403.  
  404.  
  405.     When in mouse emulation mode, the TAB and BACKTAB act as a quick
  406.     means  of  stepping  through  the  highlighted     references   on
  407.     display.   These  wrap    around    the  display, moving back to the
  408.     beginning when they reach the end and vice versa. 
  409.  
  410.  
  411.  
  412.  
  413.     Function keys
  414.  
  415.  
  416.     Function keys may be mapped by a particular hyperfile. 
  417.  
  418.     Unshifted function keys are always mapped to the control actions
  419.     provided by the main  control  menu.   The  three shifts applied
  420.     against the function keys are generally mapped    depending  on  a
  421.     particular   applications  requirements.   By    convention,   an
  422.     application provides a help display  of  actions  mapped  to the
  423.     function keys. 
  424.  
  425.  
  426.  
  427.  
  428.     Other keys
  429.  
  430.  
  431.     The keys in the normal ASCII printable set may also be mapped to
  432.     actions although this is not normally done because of the number
  433.     of function keys provided. 
  434.  
  435.     The frame text reference specification allows a key to be mapped
  436.     to  a  highlighted  reference.    This can be nearly  any  key  or
  437.     shift/key  combination    available  that  is  not  mapped  to  an
  438.     action.   Normally  an    alphabetic  character  is used for  this
  439.     purpose, being the initial  character  of  the    reference.   The
  440.     provision of this facility is  sometimes  indicated in the frame
  441.     text by a reminder  of    the  form  '[x]'  to  the  left  of  the
  442.     reference for which the 'x' key is mapped. 
  443.  
  444.  
  445.  
  446.  
  447.     1.4 Moving about
  448.  
  449.  
  450.     The normal HyperShell display  presents  a  full  screen display
  451.     consisting  of    a  header,  fixed  in  format for any particular
  452.     hyperfile, a frame text section, containing the frame text for a
  453.     topic, and a footer,  also  fixed  in  format  for  a particular
  454.     hyperfile.  Any of these sections can contain highlighted words,
  455.  
  456.  
  457.  
  458.                        1-7             Version 2.5
  459.     
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.     HyperShell        Using HyperShell         User Manual
  468.     
  469.  
  470.  
  471.     which can be  selected    to  perform  various actions.  These are
  472.     known as 'references'.
  473.  
  474.  
  475.     1.4.1 References
  476.  
  477.     References are highlighted in some way    to  make  them stand out
  478.     from  the  rest  of  the  text.   It  may also be the case  that
  479.     highlighting is used  to  enhance  the appearance of the general
  480.     display,  and  items so highlighted are not selectable (you  can
  481.     distinguish these by their  lack  of  action when you attempt to
  482.     select     them    -  hopefully  their   content    and   contextual
  483.     circumstances will have already told you this before you try). 
  484.  
  485.     To help you to know what  resulting action a reference selection
  486.     will   have,   references  are    highlighted  in  different  ways
  487.     depending on type.  It will not always tell  you  what type they
  488.     are, but in the majority of cases it will. 
  489.  
  490.  
  491.  
  492.  
  493.     Frames
  494.  
  495.  
  496.     Frame references are references to other frames of text, in this
  497.     or  another  hyperfile.  Selecting one of these adds the current
  498.     frame reference  to the backtrack list and displays the selected
  499.     one. 
  500.  
  501.     Another form of frame reference does not cause the current frame
  502.     reference to be added to the backtrack list before moving to the
  503.     selected frame. 
  504.  
  505.  
  506.  
  507.  
  508.     Notes
  509.  
  510.  
  511.     Note references refer to short notes  about  a particular topic,
  512.     which popup over  the  frame display.  These can be local to the
  513.     frame, or local to the hyperfile as a whole.  Further selections
  514.     can  be  made from notes, and the note will be cleared when  any
  515.     button    or  key  is  pressed.    A note    can  be  used  within  a
  516.     particular hyperfile to obtain    information from you by offering
  517.     a number  of  choices  for  selection, in a similar fashion to a
  518.     menu. 
  519.  
  520.  
  521.  
  522.  
  523.  
  524.                        1-8             Version 2.5
  525.     
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.     HyperShell        Using HyperShell         User Manual
  534.     
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.     Menus
  542.  
  543.  
  544.     Menu references pop up    a menu from which a choice of actions is
  545.     available.   Menus can be  local  to  a  frame    or  local  to  a
  546.     hyperfile  as  a  whole.  A choice can be made from the menu  by
  547.     moving the mouse cursor to highlight the option,  then    pressing
  548.     the  left  mouse  button  or the RETURN key, or the menu can  be
  549.     cancelled using the right mouse button or the ESCAPE key. 
  550.  
  551.  
  552.  
  553.  
  554.     Scripts
  555.  
  556.  
  557.     A  script  is  a  sequence of actions.    These can be any of  the
  558.     available  actions.  A script  can  be    cancelled  whenever  the
  559.     computer is awaiting an input, by use of the  ESCAPE  key.   The
  560.     presence of scripts is not always obvious to the end user. 
  561.  
  562.  
  563.  
  564.  
  565.     Actions
  566.  
  567.  
  568.     An action reference is used to show  that some action other than
  569.     one  of the above  will  be  performed    when  it  is  selected. 
  570.     Normally the content or  context of the reference will give some
  571.     clue as to the likely outcome of selection. 
  572.  
  573.  
  574.  
  575.  
  576.     Input fields
  577.  
  578.  
  579.     Input fields, when selected, allow a string to    be entered.  The
  580.     string is accepted when the  RETURN  key is pressed, or when the
  581.     string reaches    the length of the field.  The ESCAPE key cancels
  582.     the input.  Input fields  are generally used to input variables,
  583.     but may be used for almost any action. 
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.                        1-9             Version 2.5
  591.     
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.     HyperShell        Using HyperShell         User Manual
  600.     
  601.  
  602.  
  603.  
  604.  
  605.     1.4.2 Colours/defaults
  606.  
  607.     The  following    default  colour scheme is used for  references. 
  608.     Those  of you with  monochrome    display  adaptors  should  think
  609.     seriously about upgrading to something more modern, but you  can
  610.     use an alternative set of highlighting schemes by specifying the
  611.     -h option.  If your monochrome monitor can show  16 grey shades,
  612.     you will get used to the highlighting  differences through using
  613.     HyperShell with the normal set. 
  614.  
  615.     If  you  don't like the defaults,  it  is  possible  to  set  up
  616.     alternative  schemes  by  setting  the attribute options, either
  617.     directly  or  in  the  hyperfile  setup  section for  your  main
  618.     hyperfile. 
  619.  
  620.  
  621.          Frame text display
  622.  
  623.          Normal text          white on black
  624.          Default title          black on white
  625.          Frame ref (stack)          bright white on black
  626.          Frame ref (replace)      light yellow on black
  627.          Action reference          bright white on blue
  628.          Script reference          light yellow on green
  629.          Note reference          light green on black
  630.          Menu reference          black on white
  631.          Input field          yellow on brown
  632.  
  633.          Pop up displays
  634.  
  635.          Note heading          black on green
  636.          Note text              light yellow on green
  637.          Menu heading          black on red
  638.          Menu choice          black on brown
  639.          Menu selection          light yellow on blue
  640.          Popup message          light yellow on red (blink)
  641.          Prompted input / message black on white
  642.  
  643.  
  644.  
  645.  
  646.     1.5 Control menu
  647.  
  648.  
  649.     The  control  menu  provides  a means of controlling  HyperShell
  650.     where  no other key control or references are available.  It  is
  651.     also a handy means of accessing  control functions.  It provides
  652.     the following actions. 
  653.  
  654.  
  655.  
  656.                       1-10             Version 2.5
  657.     
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.     HyperShell        Using HyperShell         User Manual
  666.     
  667.  
  668.  
  669.  
  670.  
  671.     1.5.1 Home Frame
  672.  
  673.     This selects the 'Home' frame in the current hyperfile.  This is
  674.     the first frame defined in the    hyperfile,  and  is  usually the
  675.     introductory frame, containing routes to the other frames. 
  676.  
  677.     In some hyperfiles, the first menu choice, also mapped to the F1
  678.     key, may be used  to  present the help menu.  This is a standard
  679.     convention for PC compatible software.    The key is not mapped in
  680.     this way by default in HyperShell because certain hyperfiles may
  681.     not  provide  a help menu.  To select the home    frame,    if  this
  682.     option    is  not  available,  simply  select  the  contents  menu
  683.     (usually F2) and then press 'a' to select the first frame. 
  684.  
  685.  
  686.     1.5.2 Contents
  687.  
  688.     This  produces    a  paged list of contents, from  which    you  can
  689.     select a frame as a frame reference in the normal way. 
  690.  
  691.  
  692.     1.5.3 Backtrack
  693.  
  694.     This displays the frame you were displaying before selecting the
  695.     current  frame.   Repeated  selection  takes  you  back  to  the
  696.     original frame you were  displaying,  one  step at a time.  When
  697.     you reach the start, a    message  will  be  displayed to tell you
  698.     that you are at the beginning of the list. 
  699.  
  700.     Certain  frame references may control the stacking of  backtrack
  701.     information, and cause the top entry to  be  overwritten  rather
  702.     than stacked.  This will mean that not all  frames  visited will
  703.     be  available  on the  backtrack  list.   References  for  these
  704.     frames,  called 'replace' frame references, are  highlighted  in
  705.     yellow rather than white when displayed in text. 
  706.  
  707.  
  708.     1.5.4 Select back
  709.  
  710.     This produces a paged list of frames you have visited on the way
  711.     to displaying  the  current  frame,  and allows you to return to
  712.     displaying  any  of these frames, by simply selecting  it  as  a
  713.     reference. 
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.                       1-11             Version 2.5
  723.     
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.     HyperShell        Using HyperShell         User Manual
  732.     
  733.  
  734.  
  735.  
  736.  
  737.     1.5.5 Notepad
  738.  
  739.     This presents a paged display of references inserted by you into
  740.     the notepad list.   These  references  can be selected to action
  741.     them at any time after they have been noted, although certain of
  742.     them will only be  available if you are using the same hyperfile
  743.     as you were when  you  inserted them.  References can be removed
  744.     from the list by pressing the  keypad  DEL  key  when positioned
  745.     over the reference.  As mentioned previously, the notepad can be
  746.     retained between sessions using the notepad file. 
  747.  
  748.  
  749.     1.5.6 Search Text
  750.  
  751.     This prompts for a search string, and then searches the  current
  752.     hyperfile for a frame containing the search string  in its title
  753.     or text.  The search operation can  be    stopped  by pressing any
  754.     key. 
  755.  
  756.  
  757.     1.5.7 Type file
  758.  
  759.     This produces a paged display of a text file.  If the text  file
  760.     contains  any    embedded  reference  annotation,  this    will  be
  761.     highlighted, and you can select this to display frames, notes or
  762.     other items from the current hyperfile.  If 'autoreferencing' is
  763.     switched on,  references  in the text file that match any of the
  764.     frame names  in  the  current  hyperfile  will be highlighted as
  765.     frame references. 
  766.  
  767.     You can use the PgUp, PgDn, and Home keys to  page  up    and down
  768.     the file, and to move to the start of the  file.   The    End  key
  769.     will cancel the file  display  without having any further cancel
  770.     action.  The ESCAPE key will cancel the file display, along with
  771.     any currently executing script.   The  '#' key will prompt for a
  772.     page  number, and will position at that page.  The '/' key  will
  773.     prompt    for  a search string, and will search from the next page
  774.     forward until it finds the string in the file text, whereupon it
  775.     will  highlight  the  line  containing    the  string  and  stop. 
  776.     Pressing a key during one of these searches will stop the search
  777.     and display the page currently being searched. 
  778.  
  779.     When you reach the end of the file, a message will flash to tell
  780.     you that you have reached the  end.   When  this occurs pressing
  781.     anything other    than  the  above  keys will cause the file to be
  782.     closed and the last frame displayed to be shown. 
  783.  
  784.  
  785.  
  786.  
  787.  
  788.                       1-12             Version 2.5
  789.     
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.     HyperShell        Using HyperShell         User Manual
  798.     
  799.  
  800.  
  801.     Selecting a  reference,  or  pressing  the left mouse button (or
  802.     RETURN) displays the  reference  or  the  last frame viewed.  To
  803.     return to viewing the file, select 'Type File'    on  the  control
  804.     menu again. 
  805.  
  806.  
  807.     1.5.8 Do action
  808.  
  809.     This allows the more expert  HyperShell  user  to directly enter
  810.     action commands.  See the list of actions in the Authoring Guide
  811.     for  details  of  what    actions  are  available.  An example  is
  812.     'Fframename', where  framename    is  the  name  of a frame in the
  813.     current hyperfile, which displays the named frame. 
  814.  
  815.  
  816.     1.5.9 DOS Shell
  817.  
  818.     This runs a DOS command processor,  to allow you to run programs
  819.     from the DOS  command  line and return to HyperShell afterwards,
  820.     by typing EXIT at the DOS command prompt. 
  821.  
  822.  
  823.     1.5.10 Exit to DOS
  824.  
  825.     This causes HyperShell to terminate.  If it was invoked with the
  826.     -s  option,  it  will redisplay the screen as it  was  when  you
  827.     entered HyperShell.
  828.  
  829.  
  830.  
  831.  
  832.     1.6 Paged displays
  833.  
  834.  
  835.     Paged  displays are displays of information which may take  more
  836.     than one  screenful  to  display.   The 'Type File' display is a
  837.     paged  display,  and  allows  movement    up  and  down  the file,
  838.     searching etc.     Other    paged  displays are used for the various
  839.     lists - contents list, notepad list, backtrack list etc, as well
  840.     as extended directory listings. 
  841.  
  842.     Whilst    viewing  a paged display, you may use  certain    keys  as
  843.     indicated by the heading line.    'Paging' implies that the Pg Up,
  844.     Pg Dn and Home    keys  can  be used to move to the previous page,
  845.     next page, and    first  page  of  the  list  respectively.  [key]
  846.     indicates that the unshifted letter keys indicated down the left
  847.     side  of the list can be used to select items in the list.   The
  848.     Escape    key  can  be  used to cancel the list and return to  the
  849.     frame display. 
  850.  
  851.  
  852.  
  853.  
  854.                       1-13             Version 2.5
  855.     
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.     HyperShell        Using HyperShell         User Manual
  864.     
  865.  
  866.  
  867.     Also available during paged  displays  are  the  function keys. 
  868.     These are mapped to functions consistent with the default values
  869.     during the frame display.   F1    -  help,  F2 - page number, F3 -
  870.     previous page, F6 -  search,  F9 - temporary exit paged display,
  871.     F10 - quit paged display.  Not all  these keys are available for
  872.     all paged displays, and will cause a next page operation if  not
  873.     available for a particular display. 
  874.  
  875.  
  876.  
  877.  
  878.     1.7 Error messages
  879.  
  880.  
  881.     1.7.1 Popup
  882.  
  883.     A  number of popup messages can appear -  some    from  HyperShell
  884.     itself,  and  some  from  hyperfiles  doing  a    'popup    message'
  885.     action.  When you have read a popup message, press  any  key  to
  886.     cancel it.  The ones that HyperShell displays are as follows:-
  887.  
  888.     At beginning of list
  889.             You have reached the start of the backtrack list
  890.             and cannot backtrack any further. 
  891.  
  892.     {Item} is not available
  893.             Where item is one of Frame, Note, Menu,  Script,
  894.             File.  The reference you have selected    directly
  895.             or indirectly refers to the name of an item that
  896.             does not  exist.  An inconsistent hyperfile text
  897.             is the probable cause for this. 
  898.  
  899.     Continuing file {filename}
  900.             You have asked for  a  file  to  be  typed, when
  901.             there  is  currently one  being  processed.   To
  902.             cancel    the continued file  display,  press  the
  903.             right mouse button (or the ESCAPE key). 
  904.  
  905.  
  906.     1.7.2 Error codes
  907.  
  908.     The  error  code  variable  '?'  is set whenever certain  errors
  909.     occur.    It may be  displayed  using  the command 'P$?' at the DO
  910.     ACTION prompt.    The codes,  with  their associated meanings, are
  911.     listed in the Appendix.
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.                       1-14             Version 2.5
  921.     
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.     HyperShell        Using HyperShell         User Manual
  930.     
  931.  
  932.  
  933.  
  934.  
  935.     1.7.3 Fatal
  936.  
  937.     These messages appear when  a  situation  occurs where it is not
  938.     practical to continue running HyperShell. They are as follows:-
  939.  
  940.     Out of memory - code nnn
  941.             HyperShell  ran out of memory when attempting to
  942.             allocate some for an  item.   You  were probably
  943.             running  a   lot   of  hyperfiles,  or    a  large
  944.             hyperfile (see restrictions in Authoring Guide).
  945.             Try again with less. 
  946.  
  947.     Can't open file {filename}
  948.             The   initial    hyperfile  requested  cannot  be
  949.             opened.   Check that you have its name    correct,
  950.             that  you  have drive  and  directory  paths  if
  951.             needed, or have the  HSPATH environment variable
  952.             set. 
  953.  
  954.  
  955.     1.7.4 Other problems
  956.  
  957.     If  something does not appear to work correctly, check that  the
  958.     various environment variables are  set up correctly as described
  959.     in the first section.  If the COMSPEC and PATH variables are not
  960.     set up, programs cannot be run from HyperShell, and the DOS EXIT
  961.     cannot    be  used.   To    check the error status try entering  the
  962.     action 'p$^', which will display the current error number, which
  963.     can  be  checked  against  the    list in the  Authors  guide,  or
  964.     reported to the supplier of the hyperfile. 
  965.  
  966.  
  967.  
  968.  
  969.     1.8 Error codes
  970.  
  971.  
  972.  
  973.     1 - Operation cancelled
  974.     2 - Menu no choice
  975.     3 - End of file
  976.     4 - Cant open file
  977.     5 - File not open
  978.     6 - File open
  979.     7 - File changed
  980.     8 - At start of backtrack
  981.     9 - Divide by 0
  982.     10 - Value not expected
  983.  
  984.  
  985.  
  986.                       1-15             Version 2.5
  987.     
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.     HyperShell        Using HyperShell         User Manual
  996.     
  997.  
  998.  
  999.     11 - Value expected
  1000.     12 - Undefined opcode
  1001.     13 - Unmatched parenthesis
  1002.     14 - Syntax error
  1003.     15 - Script not available
  1004.     16 - Menu not available
  1005.     17 - Note not available
  1006.     18 - Frame not available
  1007.     19 - Key not defined
  1008.     20 - Invalid key code
  1009.     21 - Local ref can't be noted
  1010.     22 - Not at reference
  1011.     23 - Key not mapped
  1012.     24 - No action or disabled
  1013.     25 - Invalid action code
  1014.     26 - No command
  1015.     27 - Env var not present
  1016.     28 - Invalid dynamic menu
  1017.     29 - Line too wide for screen
  1018.     30 - String too long
  1019.     31 - Too many lines in frame
  1020.     32 - Max script reached
  1021.     33 - Maximum menu size reached
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.                       1-16             Version 2.5
  1053.     
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.     HyperShell        Using HyperShell         User Manual
  1062.     
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.                Table of Contents
  1070.  
  1071.  
  1072.     Chapter 1 Using HyperShell                   2
  1073.  
  1074.        1.1 Introduction                       2
  1075.        1.2 Invocation                       2
  1076.        1.3 Interaction                       4
  1077.  
  1078.           1.3.1 The Mouse                       4
  1079.           1.3.2 The Keyboard                   5
  1080.  
  1081.        1.4 Moving about                       7
  1082.  
  1083.           1.4.1 References                       8
  1084.           1.4.2 Colours/defaults                   10
  1085.  
  1086.        1.5 Control menu                       10
  1087.  
  1088.           1.5.1 Home Frame                       11
  1089.           1.5.2 Contents                       11
  1090.           1.5.3 Backtrack                       11
  1091.           1.5.4 Select back                    11
  1092.           1.5.5 Notepad                       12
  1093.           1.5.6 Search Text                    12
  1094.           1.5.7 Type file                       12
  1095.           1.5.8 Do action                       13
  1096.           1.5.9 DOS Shell                       13
  1097.           1.5.10 Exit to DOS                   13
  1098.  
  1099.        1.6 Paged displays                       13
  1100.        1.7 Error messages                       14
  1101.  
  1102.           1.7.1 Popup                       14
  1103.           1.7.2 Error codes                    14
  1104.           1.7.3 Fatal                       15
  1105.           1.7.4 Other problems                   15
  1106.  
  1107.        1.8 Error codes                       15
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.                       1-17             Version 2.5
  1119.     
  1120.  
  1121.  
  1122.  
  1123.  
  1124.